<?php

namespace App\Models;

use App\Library\Models\Entity;

class ShopOrderExtModel extends Entity
{
    protected $table = 'shop_order_ext';
    
    protected $casts = ['extend' => 'json'];

    protected $fillable = [
        'id',
        'order_id',
        'status',
        'user_id',
        'seller_id',
        'coupon_user_related_id',
        'status_cancel',
        'status_pay',
        'status_inventory',
        'status_refund',
        'status_deliver',
        'status_confirm',
        'status_after_sale',
        'refund_price',
        'status_complete',
        'status_evaluate',
        'status_pickup',
        'freight',
        'address_id',
        'status_verify',
        'status_settlement',
        'status_pay_over_time',
        'user_deleted_at',
        'seller_deleted_at',
        'cancel_at',
        'pay_at',
        'refund_at',
        'complete_at',
        'settlement_at',
        'evaluate_at',
        'deliver_at',
        'confirm_at',
        'auto_confirm_at',
        'refund_cut_off_at',
        'user_remark',
        'seller_remark',
        'system_remark',
        'extend',
        'order_return_number',
        'confirm_script',
        'refund_script',
        'settlement_script',
        'system_at',
        'created_at',
        'updated_at'
    ];
}
